<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<html>
<head>
<meta charset="UTF-8">
<title>文件展示页面</title>

</head>

<body>
<center>
<a href="uploadFile.jsp">上传文件</a><br/>
<!-- <a href="downloadFile.jsp">下载文件</a><br/> -->

<hr>
应用内的文件：
<table width="408" border="0">
	  <tr>
	    <td width="188">文件名</td>
        <td width="204">上传人</td>
	    <td width="204">操作</td>
  </tr>
      <c:forEach var="fileName" items="${fileNames }">
	  <tr>
	    <td>${fileName}</td>
        <td>${uploader_name}</td>
	    <td><a href="downloadServlet?fileName=${fileName}">下载</a></td>
      </tr>
      </c:forEach>
</table>
<hr>
<p><a href="downloadOtherFile.jsp">下载其他文件</a></p>
</center>
</body>
</html>